package net.jiastudy.biz.user.mapper;

import java.util.Set;

import net.jiastudy.biz.user.entity.Role;
import net.jiastudy.biz.user.entity.UserRole;
import net.jiastudy.core.base.BaseMapper;

public interface UserRoleMapper extends BaseMapper<UserRole> {

	public Set<String> findPermissionsByUserId(Long userId);
	
	public Set<String> findRoleCodesByUserId(Long userId);
	
	public Set<Role> findRolesByUserId(Long userId);
}
